export const menuData = [
  [{
    title: '扫一扫',
    note: '',
    url: '',
    type: 'scan',
    icon: 'scan'
  }, {
    title: '空桶押金',
    note: '',
    url: '/pages/usercenter/pladge/pladge',
    icon: 'money-circle',
    type: 'pledge',
  }, {
    title: '我的用户码',
    note: '',
    url: '',
    icon: 'user-avatar',
    type: 'myqr',
  }, {
    title: '水票兑换码',
    note: '',
    url: '/pages/usercenter/exTicket/exTicket',
    icon: 'barcode',
    type: 'exchange',
  }, {
    title: '我的地址',
    note: '',
    url: '/pages/delivery/manage?from=userCenter',
    icon: 'location',
    type: 'address',
  }, {
    title: '我的推广',
    note: '',
    url: '/pages/usercenter/adv/my/myAdv',
    icon: 'user-talk',
    type: 'adv',
  }, ],
  [{
    title: '面对面收款',
    note: '',
    url: '/pages/showqr/showqr?title=空桶押金',
    icon: 'usergroup',
    type: 'offlinePay',
    roles: ['delivery', 'master', 'admin']
  }, {
    title: '商家收款码',
    note: '',
    url: '/pages/qr/qrcode?param=' + JSON.stringify({
      title: '商家收款码'
    }),
    type: 'payment-qr',
    icon: 'creditcard',
    roles: ['delivery', 'admin', 'master', 'staff'],
  }, ],
  [{
    title: '订单管理',
    note: '',
    url: '/pages/order/order-list/index?action=manage',
    type: 'order',
    roles: ['delivery', 'master', 'admin'],
    icon: 'view-list'
  }, {
    title: '销售统计',
    note: '',
    url: '/pages/order/statistics/sale/sale-statistics',
    type: 'order',
    roles: ['admin'],
    icon: "chart"
  }, {
    title: '配送统计',
    note: '',
    url: '/pages/order/statistics/delivery/delivery-statistics',
    type: 'order',
    roles: ['admin'],
    icon: 'cart'
  }, {
    title: '配送结算',
    note: '',
    url: '/pages/usercenter/staff/index?role=delivery',
    type: 'order',
    roles: ['admin'],
    icon: 'wallet'
  }, {
    title: '用户管理',
    note: '',
    url: '/pages/usercenter/staff/index',
    type: 'staff',
    roles: ['admin'],
    icon: 'user'
  }, {
    title: '退款管理',
    note: '',
    url: '/pages/usercenter/pladge/list/pladgeList',
    type: 'refound',
    roles: ['admin']
  }, {
    title: '商品管理',
    note: '',
    url: '/pages/common/goodsManage/index?action=edit',
    type: 'goods',
    roles: ['admin']
  }, {
    title: '推广管理',
    note: '',
    url: '/pages/usercenter/adv/manage/advManage',
    type: 'goods',
    roles: ['admin']
  }, {
    title: '优惠券管理',
    note: '',
    url: '/pages/usercenter/coupon/list/couponList?action=edit',
    type: 'coupon',
    roles: ['admin']
  }, {
    title: '首页模块',
    note: '',
    url: '/pages/usercenter/module/index',
    type: 'module',
    roles: ['admin'],
    icon: 'home'
  }, {
    title: '消息设置',
    note: '',
    url: '/pages/chat/setting/setting',
    type: 'chat',
    roles: ['admin'],
    icon: 'chat'
  }],
  [{
      title: '接收消息',
      type: 'msg',
      icon: 'notification',
      iconError: 'notification-error'
    },
    {
      title: '常见问题',
      type: 'help',
      icon: 'help-circle',
      url: '/pages/usercenter/help/index'
    },
    {
      title: '热线电话',
      note: '',
      url: '',
      type: 'service',
      icon: 'service',
    },
  ]
];